package com.xuzz.xrpc.cluster;

import com.xuzz.xrpc.common.loader.ExtensionLoader;

/**
 */
public class LoadbalanceFactory {

    public static ILoadbalance getLoadbalance(String loadbalance) {
        ILoadbalance extension = ExtensionLoader.getExtensionLoader(ILoadbalance.class).getExtension(loadbalance);
        return extension;
    }
}
